翻訳と辞書
Words near each other
・ Archestratus of Phrearrhi
・ Archettes
・ Archetypal analysis
・ Archetypal literary criticism
・ Archetypal name
・ Archetypal pedagogy
・ Archetypal psychology
・ Archetype
・ Archetype (disambiguation)
・ Archetype (Fear Factory album)
・ Archetype (Fear Factory song)
・ Archetype (information science)
・ Archetype (Susumu Hirasawa album)
・ Archetype (Tonedeff album)
・ Archetype (video game)
Archetype pattern
・ Archetype Tour
・ Archetypes and Repetition
・ Archetypes and the Collective Unconscious
・ Archetypomys
・ Archeuptychia
・ Archeus
・ Archevite
・ Archey's frog
・ Archezoa
・ Archford Gutu
・ Archgallo
・ Archgoat
・ Archhani
・ Archi


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Archetype pattern : ウィキペディア英語版
Archetype pattern

The Archetype pattern separates the logic from implementation; the separation is accomplished by there being two abstract classes, a decorator (for logic) and a delegate (for implementation). The Factory handles the mapping of decorator and delegate classes and returns the pair associated with a parameter or parameters passed. The interface is the contract between a decorator, a delegate and the calling class creating an Inversion of Responsibility.〔Basford, P: GTS, 2009.〕 This example use two branches however you can have 'N' branches as required. The pattern means that one branch from the interface does not have to worry about how another branch operators as long it implements the interface.
== Sections ==

''Decorator''

The descendants of the decorator class handle the logic, for example performing a calculation. The descendants of the decorator can then call the descendants of the delegated when or if they wish to pass responsibility for example storage or communication.
''Delegate''

The descendants of the delegate flow class handle the implementation for call a sub-system, storage, or communication. Different children can use completely sub-systems storage, or communications than each other.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Archetype pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.